﻿<%@ Page Language="c#" CodeBehind="login.aspx.cs" AutoEventWireup="true" Inherits="BEGDC.CC.Web.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <link rel="shortcut icon" href="favicon.ico" />
        <link rel="icon" href="favicon.ico" type="image/x-icon" />
    <title></title>
    <style type="text/css">
        /* Logn Style */
    .Login_body {background:url(images/login_bg.gif) no-repeat #e1d9f3;}
    .Login {margin-top:10%; margin-left:370px; background:url(images/login_middle.gif) no-repeat; width:508px;height:285px;
             color:#FFFFFF; font-size:14px; font-weight:bold; font-family:Tahoma, Verdana, Segoe, sans-serif, SimSun;}
    .Login_opa{filter:alpha(opacity=60);opacity:0.5; background:url(images/login_middle2.gif) no-repeat;
		         width:508px;height:285px;}
    .Login_btn{  width:auto; height:48px; line-height:14px; font-size:12px!important; background:url(images/btnbg.gif) repeat-x #8976bb; 
           border:1px solid #7a6da2; cursor:pointer; color:#fff;
           padding-left:10px; padding-top:0px; padding-right:10px;
           margin-left:5px; margin-top:5px; margin-right:5px; margin-bottom:88px;}
     .L_btn  {  width:auto; height:28px; line-height:14px; font-size:12px!important; background:url(images/btnbg.gif) repeat-x #8976bb; 
           border:1px solid #7a6da2; cursor:pointer; color:#fff;
           padding-left:10px; padding-top:0px; padding-right:10px;}    
    .Login_txtbox{ color:#3a3a3a; font-size:12px; height:14px; border:1px solid #999; background-color:#FFFFFF; padding:2px; margin-left:20px;}
    /*.Login_txtboxover{ color:#3a3a3a; font-size:12px; height:14px; border:1px solid #000; background-color:#FFFFFF; padding:2px; margin-left:20px;}*/

    </style>
    <style type="text/css">
        #flashText {margin-left: 128px; position: absolute; width: 316px; height: 182px;
        top: 408px; left: -116px;}
        #flashText div.fly { margin-left: 40px; margin-right: 40px; margin-top: 12px; margin-bottom: 12px; font-family: "Segoe UI", Arial, SimSun; font-size: 12pt; font-weight: bold; color: White; position: relative; }
        #flashText div.left { float: left; color: White; }
        #flashText div.right { float: right; color: purple; }
        #flashText div.clr { clear: both; }
    </style>

<%--<script src="js/jquery-1.4.4.min.js" type="text/javascript"></script>

    <script src="js/jquery-ui.min.js" type="text/javascript"></script>
    

    <script type="text/javascript">


        $(function() {

            var interval = 5000;
            var delta = 70;
            var color$src = "purple";
            var color$dst = "white";

            var floating = function() {
                $("div.left").animate({
                    //opacity: 0.25,
                    color: color$src,
                    left: delta
                }, interval, "linear").animate({
                    //opacity: 0.75,
                    color: color$dst,
                    left: 0
                }, interval, "linear");

                $("div.right").animate({
                    //opacity: 0.75,
                    color: color$dst,
                    right: delta
                }, interval, "linear").animate({
                    //opacity: 0.25,
                    color: color$src,
                    right: 0
                }, interval, "linear");
            };

            var floatingInternal = function() {
                floating();
                setTimeout(floatingInternal, 0);
            };

            floatingInternal.call();

            //$("div.left").hide();
            //$("div.right").hide();
           
        });
    </script>--%>

</head>
<body class="Login_body">
    <form runat="server">
    <asp:Login runat="server" OnAuthenticate="Login_Authenticate" DisplayRememberMe="False"
        CssClass="Login" PasswordLabelText="Password(CIP):" TitleText="" UserNameLabelText="User Name (CIL):"
        UserName="">
        <TextBoxStyle />
        <LoginButtonStyle />
        <LayoutTemplate>
            <table border="0" cellpadding="0" class="Login_opa">
                <tr height="160" valign="bottom">
                    <td align="right" width="150">
                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name (CIL):</asp:Label>
                    </td>
                    <td width="180">
                        <asp:TextBox ID="UserName" runat="server" CssClass="Login_txtbox" Width="120px" TabIndex="1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                            ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="ctl135">*</asp:RequiredFieldValidator>
                    </td>
                    <td rowspan="3">
                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" CssClass="Login_btn"
                            Text="Log In" ValidationGroup="ctl135" />
                    </td>
                    
                </tr>
                <tr height="40" valign="top">
                    <td align="right" width="150" style="padding-top:8px;">
                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password(CIP):</asp:Label>
                    </td>
                    <td style="padding-top:8px;">
                       <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="Login_txtbox"
                            Width="120px" TabIndex="2"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                            ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="ctl135">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr height="60" valign="top">
                    <td></td>
                    <td style="padding-top:8px; padding-left:40px;">
                      <%--<asp:Button ID="UserGuide" runat="server" CommandName="UserGuide" CssClass="L_btn"
                            Text="User Guide" ValidationGroup="ctl135" />
                      <asp:Button ID="FAQ" runat="server" CommandName="FAQ" CssClass="L_btn"
                            Text="FAQ" ValidationGroup="ctl135" />--%>
                    </td>
                </tr>
            </table>
        </LayoutTemplate>
        <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
    </asp:Login>
    </form>
  
    <%--<div id="flashText">
        <div class="fly left">
            Customer Focus,</div>
        <div class="clr">
        </div>
        <div class="fly right">
            Quick Response,</div>
        <div class="clr">
        </div>
        <div class="fly left">
            Effective Implementation,</div>
        <div class="clr">
        </div>
        <div class="fly right">
            Team Work</div>
        <div class="clr">
        </div>
    </div>--%>
    
</body>
</html>
